Method and system for refresh of memory devices

ABSTRACT

A memory system is disclosed. The memory system includes a memory array and a controller. The controller is configured to perform a refresh operation to the memory array with a first refresh cycle rate. The first refresh cycle rate is derived from a first refresh time in a lookup table. The lookup table is configured to store refresh times and refresh temperatures corresponding to the refresh times separately.

CROSS-REFERENCE TO RELATED APPLICATION

The present application claims priority to U.S. Provisional Patent Application No. 62/981,740, filed on Feb. 26, 2020, which is incorporated by reference herein in its entirety.

BACKGROUND

A magnetoresistive random access memory (MRAM) can be rewritten at high speed compared to other nonvolatile memories. Thus, it is considered that the MRAM is applied to a working memory such as a main memory and a cache memory. When an magnetic tunnel junction (MTJ) element as a storage element of the MRAM is enabled to be accessed at high speed in order to apply the MRAM to a cache memory. It is likely that data retention characteristics deteriorate and data retention time becomes short under high temperature conditions.

BRIEF DESCRIPTION OF THE DRAWINGS

Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.

FIG. 1A is a schematic diagram of a wafer including multiple integrated circuits (chips/dies) in accordance with various embodiments of the present disclosure.

FIG. 1B is a schematic plot that shows die to die distribution versus their normalized refresh times in accordance with various embodiments of the present disclosure.

FIG. 2 is a schematic diagram of a memory system in accordance with other embodiments of the present disclosure.

FIG. 3 is a flowchart of a method, in accordance with some embodiments of the present disclosure.

FIG. 4 is a schematic plot that shows refresh/operation temperature of the memory arrays versus their refresh times in accordance with various embodiments of the present disclosure.

FIG. 5 is a flowchart showing detail operations corresponding to the method of FIG. 3, in accordance with some embodiments of the present disclosure.

FIG. 6 is a flowchart showing detail operations corresponding to the method of FIG. 3, in accordance with some embodiments of the present disclosure.

FIG. 7 is a schematic diagram of a computer system in accordance with various embodiments of the present disclosure.

DETAILED DESCRIPTION

The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and second features, such that the first and second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.

The terms used in this specification generally have their ordinary meanings in the art and in the specific context where each term is used. The use of examples in this specification, including examples of any terms discussed herein, is illustrative only, and in no way limits the scope and meaning of the disclosure or of any exemplified term. Likewise, the present disclosure is not limited to various embodiments given in this specification.

Although the terms “first,” “second,” etc., may be used herein to describe various elements, these elements should not be limited by these terms. These terms are used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the embodiments. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items.

As used herein, the terms “comprising,” “including,” “having,” “containing,” “involving,” and the like are to be understood to be open-ended, i.e., to mean including but not limited to.

As used herein, “around”, “about”, “approximately” or “substantially” shall generally refer to any approximate value of a given value or range, in which it is varied depending on various arts in which it pertains, and the scope of which should be accorded with the broadest interpretation understood by the person skilled in the art to which it pertains, so as to encompass all such modifications and similar structures. In some embodiments, it shall generally mean within 20 percent, preferably within 10 percent, and more preferably within 5 percent of a given value or range. Numerical quantities given herein are approximate, meaning that the term “around”, “about”, “approximately” or “substantially” can be inferred if not expressly stated, or meaning other approximate values.

Reference is now made to FIG. 1A. FIG. 1A is a schematic diagram of a wafer 100 including multiple integrated circuit chips/dies 110 in accordance with various embodiments of the present disclosure. As illustratively shown in FIG. 1A, the integrated circuit dies 110 include memory devices 111. In some embodiments, the memory devices 111 are implemented as data storage devices for writing and/or reading electronic data. In various embodiments, the data storage devices are implemented as volatile memory, such as random-access memory (RAM), which conventionally require power to maintain its stored information or non-volatile memory, such as read-only memory (ROM), which can maintain its stored information even when not powered. RAM can be implemented in a dynamic random-access memory (DRAM), a static random-access memory (SRAM), and/or a non-volatile random-access memory, often referred to as a flash memory, configuration. The electronic data can be written into and/or read from an array of memory cells which can be accessible through various control lines.

In some embodiments, magnetic random access memory (MRAM) and resistive random access memory (RRAM) are two types of recently developed memory devices. MRAM and RRAM are applicable for embedded memory, DRAM replacement, flash replacement, among other applications. MRAM and RRAM devices are inherently sensitive to process variations during device fabrication. Therefore, memory performance variations during testing are observed from die-to-die across the semiconductor wafer 100. Different dies at different wafer locations (e.g. center die vs. edge die) often have very different read/write windows, and fail the performance test of read/write window margin at a very high rate, which can limit the usefulness of the MRAM and the RRAM devices.

Reference is now made to FIG. 1B. FIG. 1B is a schematic plot including a curve C1 that shows die to die distribution versus their normalized refresh times in accordance with various embodiments of the present disclosure. The refresh time implies a moment when stored data in MRAM are loss or disappear. For illustration, the die to die distribution has a Gaussian distribution. In some embodiments, different MRAM cells/arrays on different dies may have different refresh times and different retention times for retaining data in the MRAM cells/arrays. To explain in another way, the data stored in the MRAM cells/arrays may loss or disappear after passing by the retention time or reaching the refresh time. Accordingly, a refresh operation is performed to the MRAM cells/arrays before the refresh time in order to retain stored data. However, as discussed above, there are large variations in retention times of different MRAM cells/arrays on different dies, and therefore, refresh operations with a uniform refresh cycle rate to all MRAM arrays on different dies are not effective (too frequent or infrequent for some dies), in some approaches.

On top of that, refresh operations negatively impact memory performance and power dissipation. First, a memory controller stalls normal read and write requests to the part of the memory that is being refreshed. Second, refresh operations consume energy because refreshing a memory row involves operations such as reading and restoring data. As the speed and size of memory devices continue to increase with each new technology generation, the performance and power overheads of refresh operations are increasing in significance.

In the present disclosure, a memory system and a method for automatically and digitally setting refresh cycle rates for memory arrays on different dies according to their refresh time-temperature characteristics are provided. In some embodiments, a memory controller included in the memory system acquires refresh time data of memory arrays on several memory devices (dies) based on operation temperatures sensed by temperature sensors on the memory devices. The refresh time data are stored in lookup tables in a storage unit. In some embodiments, the lookup tables are generated by counting refresh time periods of the memory arrays. On the basis of acquired refresh time data, the memory controller further sets refresh cycle rates of a refresh operation to be performed to the memory arrays. Accordingly, refresh cycle rates for the memory arrays on different memory devices are set separately and optimized based on temperature-dependent characteristics of individual memory devices.

Reference is now made to FIG. 2. FIG. 2 is a schematic diagram of a memory system 200 in accordance with other embodiments of the present disclosure. As illustratively shown in FIG. 2, the memory system 200 includes a memory controller 210, a storage unit 220, and at least one memory device 230. In some embodiments, the memory device 230 is configured with respect to the memory devices 111 in FIG. 1A, and is on one die of multiple dies in the memory system 200. For illustration, the memory device 230 is coupled to the memory controller 210. The memory controller 210 is further coupled to the storage unit 220.

For illustration, as shown in FIG. 2, the memory controller 210 includes a processing unit 212, a timer (scheduler) 214, and a refresh controller 216. The memory device 230 includes a memory array 230 a and a temperature sensor TS. The details configurations and operations of the elements in the memory system 200 will be discussed with reference to FIGS. 3-6 in the following paragraphs.

In some embodiments, the memory controller 210 is implemented by one or more memory controller circuits or devices for memory system 200. The memory controller 210 is configured to generate memory access commands and access one or more memory devices 230 and the storage unit 220. In various embodiments, memory controller 210 includes I/O interface logic (not shown) to couple to a memory bus (not shown). The I/O interface logic includes pins, pads, connectors, signal lines, traces, or wires, or other hardware to connect the devices, or a combination of these. In various embodiments, the I/O interface logic includes a hardware interface or drivers, receivers, transceivers, or termination, or other circuitry or combinations of circuitry to exchange signals on the signal lines between the devices. The exchange of signals includes at least one of transmit or receive. While shown as coupling the memory controller 210 to the memory device 230, it will be understood that in an implementation of memory system 200 where groups of memory devices 230 are accessed in parallel, multiple memory devices are implemented by including I/O interfaces to the same interface of memory controller 210.

In some embodiments, the storage unit 220 is an electronic, magnetic, optical, electromagnetic, infrared, and/or a semiconductor system (or apparatus or device). For example, the storage unit 220 includes a semiconductor or solid-state memory, a magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk, and/or an optical disk. In one or more embodiments using optical disks, the storage unit 220 includes a compact disk-read only memory (CD-ROM), a compact disk-read/write (CD-R/W), and/or a digital video disc (DVD).

In some embodiments, the memory device 230 is implemented by MRAM device in accordance with any referred to above. In various embodiments, the memory device 230 is configured to be as memory resource for memory system 200. In one embodiment, the multiple memory devices 230 are on separate memory dies. Each memory device 230 includes I/O interface logic (not shown), which has a bandwidth determined by the implementation of the device and enables each memory device 230 to interface with memory controller 210. In one embodiment, multiple memory devices 230 are connected in parallel to the same command and data buses. In another embodiment, multiple memory devices 230 are connected in parallel to the same command bus, and are connected to different data buses. For a write operation, an individual memory device 230 writes a portion of the overall data word, and for a read operation, an individual memory device 230 fetches a portion of the overall data word.

The configurations of FIG. 2 are given for illustrative purposes. Various implements are within the contemplated scope of the present disclosure. For example, in some embodiments, the memory controller 210 is included in a processor. In various embodiments, the memory controller 210 receives the instructions from a processor coupled thereto.

Reference is now made to FIG. 3. FIG. 3 is a flowchart of a method 300, in accordance with some embodiments of the present disclosure. It is understood that additional operations can be provided before, during, and after the processes shown by FIG. 3, and some of the operations described below can be replaced or eliminated, for additional embodiments of the method. The order of the operations/processes may be interchangeable. Throughout the various views and illustrative embodiments, like reference numbers are used to designate like elements. The method 300 includes operations 310-370 that are described below with reference to FIGS. 2 and 4.

In operation 310, refresh time periods of the memory arrays 230 a on the memory devices (dies) 230 are counted by a testing system (not shown). In some embodiments, counting refresh time periods is performed by the timer 214 on each memory device 230 at different operation temperatures. For example, the temperature sensor TS on the memory device 230 is configured to sense the operation temperatures associated with the memory array 230 a on the memory device 230. In some embodiments, the sensed operation temperatures are configured as refresh temperatures for the refresh operation to the memory arrays 230 a.

In operation 320, the counted refresh time periods of the memory arrays 230 a are recorded. For example, a timer in the testing system stops counting when the data stored in the memory arrays 230 a are detected error or loss, and a processor unit in the testing system records the counted refresh time periods in a lookup table at different operation temperatures.

In operation 330, the lookup table storing the refresh time periods and the operation temperatures is generated and stored in the storage unit 220. In some embodiments, the lookup table is represented as shown below:

TABLE I exemplary lookup table of a memory array 230a on a memory device(die) 230 refresh/operation temperature (° C.) −25 0 25 50 85 105 refresh time >10 years >10 years 1.4 yrs 2.6 days 100 s 1 s

In some embodiments, multiple lookup tables are generated, and each lookup table corresponds to one of the memory devices (dies) 230. The lookup tables of different memory devices 230 are different from each other due to die-to-die variations of the memory devices 230. In various embodiments, the lookup tables are referred to as die-to-die variation tables.

In some embodiments, the memory devices 230 and the storage unit 220 are further disconnected from the testing system before shipping. Alternatively stated, the lookup tables of the memory devices 230 are generated/pre-static.

With continued reference to FIG. 3, in operation 340, the memory devices 230 are operating in the memory system 200 and the temperature sensor TS in each memory device 230 is configured to sense operation temperatures. For example, the temperature sensor TS senses the operation temperature of about 85° C. In some embodiments, multiple memory devices 230 are operating in similar temperature. In various embodiments, the memory devices 230 are operating in different temperatures which are sensed by the temperature sensors TS on each memory device 230.

In operation 350, the memory controller 210 looks up in the lookup tables based on the operation temperatures. For example, the memory controller 210 receives data signal D1 having the sensed operation temperature of 85° C., associated the memory array 230 a on one memory device 230. The memory controller 210 looks up in the lookup table, based on the operation temperature of 85° C. through sending a control signal CM1 to the storage unit 220. In some embodiments, the processing unit 212 of the memory controller 210 executes instructions corresponding to the operation 350.

In some embodiments, the method 300 further includes that the memory controller 210 acquires a refresh time of about 100s from the lookup table by receiving a data signal D2 from the storage unit 220. In some embodiments, the memory controller 210 looks up in the lookup tables associated with the memory arrays 230 a on all memory devices 230 in the memory system 200, and acquires corresponding refresh times for all memory arrays 230 a. In some embodiments, the processing unit 212 of the memory controller 210 executes instructions corresponding acquiring.

With continued reference to FIG. 3, in operation 360, the memory controller 210 sets refresh cycle rates for performing refresh operations to the memory arrays 230 a on the memory devices 230. In some embodiments, the refresh cycle rates are determined as durations shorter than the corresponding refresh times. For example, with reference to the lookup table I above, the refresh time corresponding to the operation temperature of about 25° C. is about 1.4 years, and the refresh cycle rate is set as about 1.39 years. The refresh time corresponding to the operation temperature of about 50° C. is about 2.6 days, and the refresh cycle rate is set as about 2.5 days. The refresh time corresponding to the operation temperature of about 85° C. is about 100 seconds, and the refresh cycle rate is set as about 99 seconds. The refresh time corresponding to the operation temperature of about 105° C. is about 1 second, and the refresh cycle rate is set as about 0.9 seconds. Accordingly, the refresh operation will be performed to the memory array 230 a before the stored data is getting lost.

In some embodiments, after setting the refresh cycle rate, the memory controller 210 initials the timer 214 to perform counting the refresh time period.

In operation 370, when the counted refresh time period meets the duration of the refresh cycle rate of about 99s, the refresh controller 216 of the memory controller 210 performs the refresh operation to the memory array 230 a. Alternatively stated, the memory controller 210 refreshes the stored data in the memory arrays 230 a with the refresh cycle rate of about 99s. In some embodiments, the memory controller 210 performs the refresh operation through a control signal CM2 sent to bit-lines or word lines in the memory arrays 230 a.

In some embodiments, the method 300 further includes calculating, by the memory controller 210, the refresh cycle rates according to the die-to-die variation tables. As shown in FIG. 4, FIG. 4 is a schematic plot including a regression line C2 which shows refresh/operation temperature of the memory arrays versus their refresh times corresponding to the lookup table I in accordance with various embodiments of the present disclosure. For illustration, the regression line C2 is given and a regression equation is obtained correspondingly. Accordingly, a desired refresh time at certain operation temperature is calculated with regression equation, and a corresponding refresh cycle rate is determined.

For example, in the embodiments of FIG. 4 and the lookup table I, based on the regression equation corresponding to the regression line C2, a calculated refresh cycle rate corresponding to a given operation temperature of about 70° C. is about 12.5 minutes. In various embodiments, a calculated refresh cycle rate corresponding to a given operation temperature of about 40° C. is about 8.89 days.

The configurations of FIGS. 3-4 are given for illustrative purposes. Various implements are within the contemplated scope of the present disclosure. For example, in some embodiments, instead of setting the refresh cycle rates by the memory controller 210, the refresh cycles rates are determined and stored in the storage unit 220 after generating the lookup table. Alternatively stated, the operations 310-330 are performed before shipping the memory system 200, and the operation 360 is replaced by an operation of acquiring the pre-set refresh cycle rates from a lookup table including the refresh cycle rates, for example, a lookup table II shown as below:

TABLE II lookup table of the memory array 230a on the memory device(die) 230 refresh/operation temperature (° C.) −25 0 25 50 85 105 refresh time >10 years >10 years  1.4 yrs 2.6 days 100 s   1 s refresh cycle >10 years >10 years 1.39 yrs 2.5 days  99 s 0.9 s rate

In some embodiments, the method 300 further includes detail operations. Reference is now made to FIG. 5. FIG. 5 is a flowchart showing detail operations corresponding to the method 300 of FIG. 3, in accordance with some embodiments of the present disclosure. For illustration, the method 300 further includes operations 341-345 that are described below with reference to FIGS. 2 and 4.

With continued reference to the operation 340 of FIG. 3, after sensing the operation temperatures, the memory controller 210 further determines whether the operation temperatures change. In some embodiments, after determining that the operation temperatures do not change, the operation 342 is performed. In contrast, when the operation temperatures change, the operation 343 is performed.

In operation 342, because the operation temperatures remain unchanged, the memory controller 210 keeps utilizing the refresh controller 216 to refresh the data stored in the memory arrays 230 a with the original refresh cycle rate. For example, when the operation temperature of the memory array 230 a on one memory device 230 remains at about 50° C., the memory controller 210 keeps refreshing the memory arrays 230 a by the original refresh cycle rate of about 2.5 days corresponding to the operation temperature of about 50° C. for several refresh cycles until the operation temperatures changes.

When the operation temperatures change, the operation 343 is performed. In operation 343, the memory controller 210 further acquires another refresh time corresponding to the changed operation temperature. For example, in some embodiments, when the operation temperature changes from about 50° C. to about 85° C., the memory controller 210 acquires the refresh time of about 100 seconds correspondingly.

In various embodiments, the method 300 further includes operation of determining whether the changed operation temperature is lower than the original operation temperature. When the changed operation temperature is lower than the original operation temperature, the timer 214 remains counting the current refresh time period until the refresh operation is performed. In some embodiments, after the refresh operation is performed, the memory controller 210 performed the operation 343 to acquire another refresh time corresponding changed operation temperature. Alternatively stated, the refresh cycle rate is set or determined based on the refresh time corresponding to the highest operation temperature detected in the current refresh interval.

After the operation 343, in operation 344, the memory controller 210 further sets another refresh cycle rate corresponding to the changed operation temperature. For example, as the embodiments discussed above, the memory controller 210 sets a new refresh cycle rate of about 99s corresponding to the changed operation temperature of 85° C. Alternatively stated, when the operation temperature increases (i.e., from about 50° C. to about 85° C.), the duration of the refresh cycle rate decreases (i.e., from about 2.5 days to about 99s). To explain in another way, when the operation temperature increases, the refresh cycle rate is faster than the original one. Similarly, in various embodiments, when the operation temperature decreases (i.e., from about 50° C. to about 25° C.), the duration of the refresh cycle rate increases (i.e., from about 2.5 days to about 1.39 years). To explain in another way, when the operation temperature decreases, the refresh cycle rate is slower than the original one.

With continued reference to FIG. 5, after performing the operation 344, the operation 345 is performed. In operation 345, the memory controller 210 reset the timer 214 to count the refresh time period. For example, in some embodiments, the operation temperature of the memory array 230 a changes from about 50° C. to about 85° C. when the refresh time period counted by the timer 214 is 1.5 days. In response to the changed operation temperature, the timer 214 is reset to 0 and counts a new refresh time period at about 85° C.

In some embodiments, after the operation 345 is performed, the operation 370 of FIG. 3 is performed, and the operation 340 is performed continuously.

In some approaches, the refresh cycle rates for all memory arrays are the same at different operation temperatures. Furthermore, in order to prevent the stored data getting loss at higher temperatures, the refresh cycle rates are fixed in response to the higher temperatures. As a result, the refresh operation is performed too often when the memory device operates at lower temperatures, and impacts the performance and the power consumption of the memory device. In contrast, with the configurations of the present disclosure, the refresh cycle rates for memory arrays are adjusted automatically according to the operation temperatures. In addition, the memory arrays on various dies are refreshed based on die-dependent refresh time characteristics. Therefore, the performance and the power consumption of the memory device are improved.

In addition, memory devices included in the memory system experience various ambient temperatures. For example, an airflow in the memory system 200 in which the memory devices 230 are operating blows from the left of the memory system 200 to the right of the memory system 200. Based on the airflow direction in the memory system 200, the memory devices 230 at the left of the memory system 200 are cooler than the memory devices 230 at the right side of the memory system 200. With the configurations of FIG. 5, the memory devices 230 operating in different changed operation temperatures are refreshed by different refresh cycle rates. Accordingly, refresh operations for memory devices 230 are optimized.

The configurations of FIG. 5 are given for illustrative purposes. Various implements are within the contemplated scope of the present disclosure. For example, in some embodiments, when the operation temperature decreases by an insignificant amount, the memory controller 210 does not adjust the refresh cycle rate of the refresh operation.

In some embodiments, the method 300 further includes detail operations. Reference is now made to FIG. 6. FIG. 6 is a flowchart showing detail operations corresponding to the method 300 of FIG. 3, in accordance with some embodiments of the present disclosure. For illustration, compared with FIG. 5, the method 300 further includes operation 346 before the operation 343 that are described below with reference to FIGS. 2 and 4. With respect to the embodiments of FIGS. 3-5, like elements and operations in FIG. 6 are designated with the same reference numbers for ease of understanding.

For illustration, as shown in FIG. 6, after determining that the operation temperature changes, the operation 346 is performed. In operation 346, the memory controller 210 is further configured to determine whether an original temperature T1 and a changed temperature T2 are in the same temperature interval. When the temperatures T1-T2 are in the same temperature interval, the operation 342 is performed. When the temperatures T1-T2 are in different temperature intervals, the operation 343 is performed.

For example, in some embodiments, a lookup table III stored in the storage unit 220 is shown as below:

TABLE III lookup table of the memory array 230a on the memory device(die) 230 refresh/operation temperature (° C.) (−25)-0 1-25 26-50 51-85 86-105 refresh time >10 years 1.4 yrs 2.6 days 100 s 1 s For illustration, the lookup table III includes multiple refresh temperature intervals and corresponding refresh times. For operation temperatures in the refresh temperature interval of 1-25° C., the corresponding refresh time is determined to be about 1.4 yrs. For operation temperatures in the refresh temperature interval of 26-50° C., the corresponding refresh time is determined to be about 2.6 days. For operation temperatures in the refresh temperature interval of 51-85° C., the corresponding refresh time is determined to be about 100 seconds. For operation temperatures in the refresh temperature interval of 86-105° C., the corresponding refresh time is determined to be about 1 second.

As discussed above, in some embodiments, when the temperature T1 is about 38° C. and the temperature T2 is about 45° C., the memory controller 210 determines that the temperatures T1 and T2 are in the same temperature interval. Accordingly, the operation 342 is performed and the memory controller 210 keeps refreshing the data in the memory arrays 230 a with the refresh cycle rate corresponding to about 38° C., for example, of about 2.5 days.

In various embodiments, when the temperature T1 is about 58° C. and the temperature T2 is about 45° C., the memory controller 210 determines that the temperatures T1 and T2 are in different temperature intervals. Accordingly, the operation 343 is performed. The memory controller 210 acquires another refresh time corresponding to 45° C., and sets the correspondingly refresh time cycle of about 2.5 days.

In addition, compared the lookup table III with the lookup table I, the lookup table III is generated by determining the refresh time of the highest temperature in the temperature interval as the refresh time of the temperature interval. For example, the refresh time of the temperature of 50° C. in the lookup table I is the refresh time of the temperature interval of 26 to 50° C. in the lookup table III. Accordingly, in some embodiments, the memory controller 210 is configured to monitor a highest operation temperature of sensed operation temperatures and to set the refresh cycle rate corresponding to the highest operation temperature.

The configurations of FIG. 6 are given for illustrative purposes. Various implements are within the contemplated scope of the present disclosure. For example, in some embodiments, ranges of the temperature intervals are different from that of the lookup table III.

Reference is now made to FIG. 7. FIG. 7 is a schematic diagram of a computer system 700 in accordance with various embodiments of the present disclosure. The computer system 700 includes a processor 710 and a memory system 720 coupled to the processor 710. In some embodiments, the memory system 720 is configured with respect to, for example, the memory system 200 of FIG. 2.

The processor 710 is capable of accessing the data stored in the memory cell of the memory system 720. In some embodiments, the processor 710 is a processing unit, central processing unit, digital signal processor, or other processor that is suitable for accessing data of the memory system 720. In some embodiments, the processor 710 transmits instructions for performing, for example, the method 300 of FIGS. 3, and 5-6, through the memory controller 210.

In some embodiments, the processor 710 and the memory system 720 are formed within a system that can be physically and electrically coupled with a printed wiring board or printed circuit board (PCB) to form an electronic assembly. The electronic assembly can be part of an electronic system such as a computer, wireless communication device, computer-related peripheral, entertainment device, or the like.

In some embodiments, the computer system 700 including the memory system 720 provides an entire system in one integrated circuit (IC), so-called system on a chip (SOC) or system on integrated circuit (SOIC) devices. These SOC devices may provide, for example, all of the circuitry needed to implement a cell phone, personal data assistant (PDA), cell phones, digital camcorder, digital camera, MP3 player, or the like in a single integrated circuit.

As described above, a memory system of the present disclosure utilizes refresh time data stored in lookup tables of memory devices to determine refresh cycle times for performing a refresh operation to memory arrays on the memory devices. Accordingly, optimized retention errors reduce error rates of the memory arrays, refresh energy for performing refresh operation is saved, and refresh overheads can be minimized.

In some embodiments, a memory system is disclosed. The memory system includes a memory array and a controller. The controller is configured to perform a refresh operation to the memory array with a first refresh cycle rate. The first refresh cycle rate is derived from a first refresh time in a lookup table. The lookup table is configured to store refresh times and refresh temperatures corresponding to the refresh times separately. In some embodiments, the memory system further includes a sense circuit configured to sense an operation temperature associated with the memory array. The sensed operation temperature is configured as one of the refresh temperatures. In some embodiments, the memory system further includes a sense circuit configured to sense operation temperatures associated with the memory array. When a first operation temperature changes to a second operation temperature, the controller is further configured to acquire a second refresh time corresponding to the second operation temperature, and configured to perform the refresh operation to the memory array with a second refresh cycle rate. In some embodiments, the controller includes a timer circuit configured to count a refresh time period. The controller is further configured to reset the timer circuit to count another refresh time period after the controller acquires the second refresh time. In some embodiments, the memory system further includes a storage unit configured to store the lookup table which includes the refresh times and refresh temperature intervals corresponding to the refresh times separately. The controller is further configured to set a second refresh cycle rate by determining whether a first operation temperate and a second operation temperature, associated with the memory array, are in different intervals of the refresh temperature intervals. In some embodiments, the controller is further configured to monitor a highest operation temperature of operation temperatures associated with the memory array, and configured to set a second refresh cycle rate corresponding to the highest operation temperature.

Also disclosed a method. The method includes the operations below: counting refresh time periods of a plurality of memory arrays on a plurality of dies; recording the counted refresh time periods for generating die-to-die variation tables which are dependent on temperatures; looking up in the die-to-die variation tables based on operation temperatures associated the memory arrays to acquire refresh times; setting refresh cycle rates for performing a refresh operation to the memory arrays on the plurality of dies; and performing, by a controller, the refresh operation to the memory arrays on the plurality of dies. In some embodiments, the method further includes sensing the operation temperatures associated the memory arrays; and configuring the sensed operation temperatures as the temperatures in the die-to-die variation tables. In some embodiments, the method further includes determining whether the operation temperatures change; and in response to the determining, acquire other refresh times corresponding to the changed operation temperatures. In some embodiments, the method further includes when one of the operation temperatures changes, determining whether the changed one operation temperature and a corresponding original operation temperature are in a same temperature interval; when the changed one operation temperature and the corresponding original operation temperature are in different temperature intervals and the changed one operation temperature is lower than the original operation temperature, keeping counting the refresh time period until performing the refresh operation; and acquiring another refresh time corresponding to the changed operation temperature. In some embodiments, the method further includes setting the another refresh cycle rate corresponding to the another refresh time for performing the refresh operation to the memory arrays on a corresponding die of the plurality of dies; and resetting a timer to count the refresh time period of the memory arrays on the corresponding die of the plurality of dies. In some embodiments, the method further includes increasing durations of the refresh cycle rates when the operation temperatures decrease. In some embodiments, the method further includes calculating the refresh cycle rates according to the die-to-die variation tables.

Also disclosed is a method that includes the operations below: sensing a first operation temperature associated memory arrays on a die; acquiring, according to the first operation temperature, a first refresh time from a lookup table corresponding to the memory arrays; and refreshing data stored in the memory arrays with a first refresh cycle rate corresponding to the first refresh time. In some embodiments, the method further includes generating the lookup table by counting refresh time periods of the memory array operating in different temperatures. In some embodiments, the method further includes sensing a second operation temperature different from the first operation temperature; acquiring, according to the second operation temperature, a second refresh time from the lookup table; and refreshing data stored in the memory arrays with a second refresh cycle rate corresponding to the second refresh time. In some embodiments, the method further includes refreshing the data in the memory arrays with a second refresh cycle rate faster than the first refresh cycle rate in response to sensing a second operation temperature higher than the first operation temperature associated the memory arrays. In some embodiments, the method further includes sensing a second operation temperature different from the first operation temperature; and determining whether the first and second operation temperatures are in a same temperature interval; and in response to the determining, keep refreshing the data in the memory arrays with the first refresh cycle rate. In some embodiments, the method further includes when the first and second operation temperature are in different temperature intervals and the second operation temperature is higher than the first operation temperature, resetting a timer for counting a refresh time period of the memory arrays. In some embodiments, a duration of the first refresh cycle rate is shorter than a duration of the first refresh time.

The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure. 

What is claimed is:
 1. A memory system, comprising: a memory array; and a controller configured to perform a refresh operation to the memory array with a first refresh cycle rate; wherein the first refresh cycle rate is derived from a first refresh time in a lookup table which is configured to store a plurality of refresh times and a plurality of refresh temperatures corresponding to the plurality of refresh times separately.
 2. The memory system of claim 1, further comprising: a sense circuit configured to sense an operation temperature associated with the memory array, wherein the sensed operation temperature is configured as one of the plurality of refresh temperatures.
 3. The memory system of claim 1, further comprising: a sense circuit configured to sense operation temperatures associated with the memory array; wherein when a first operation temperature changes to a second operation temperature, the controller is further configured to acquire a second refresh time corresponding to the second operation temperature, and configured to perform the refresh operation to the memory array with a second refresh cycle rate.
 4. The memory system of claim 3, wherein the controller comprises: a timer circuit configured to count a refresh time period, wherein the controller is further configured to reset the timer circuit to count another refresh time period after the controller acquires the second refresh time.
 5. The memory system of claim 1, further comprising: a storage unit configured to store the lookup table which comprises the plurality of refresh times and a plurality of refresh temperature intervals corresponding to the plurality of refresh times separately; wherein the controller is further configured to set a second refresh cycle rate by determining whether a first operation temperate and a second operation temperature, associated with the memory array, are in different intervals of the plurality of refresh temperature intervals.
 6. The memory system of claim 1, wherein the controller is further configured to monitor a highest operation temperature of a plurality of operation temperatures associated with the memory array, and configured to set a second refresh cycle rate corresponding to the highest operation temperature.
 7. A method, comprising: counting a plurality of refresh time periods of a plurality of memory arrays on a plurality of dies; recording the plurality of counted refresh time periods for generating a plurality of die-to-die variation tables which are dependent on a plurality of temperatures; looking up in the plurality of die-to-die variation tables based on a plurality of operation temperatures associated the plurality of memory arrays to acquire a plurality of refresh times; setting a plurality of refresh cycle rates for performing a refresh operation to the plurality of memory arrays on the plurality of dies; and performing, by a controller, the refresh operation to the plurality of memory arrays on the plurality of dies.
 8. The method of claim 7, further comprising: sensing the plurality of operation temperatures associated the plurality of memory arrays; and configuring the plurality of sensed operation temperatures as the plurality of temperatures in the plurality of die-to-die variation tables.
 9. The method of claim 7, further comprising: determining whether the plurality of operation temperatures change; and in response to the determining, acquiring other refresh times corresponding to the plurality of changed operation temperatures.
 10. The method of claim 7, further comprising: when one of the plurality of operation temperatures changes, determining whether the changed one operation temperature and a corresponding original operation temperature are in a same temperature interval; when the changed one operation temperature and the corresponding original operation temperature are in different temperature intervals and the changed one operation temperature is lower than the original operation temperature, keeping counting the refresh time period until performing the refresh operation; and acquiring another refresh time corresponding to the changed operation temperature.
 11. The method of claim 10, further comprising: setting the another refresh cycle rate corresponding to the another refresh time for performing the refresh operation to the plurality of memory arrays on a corresponding die of the plurality of dies; and resetting a timer to count the plurality of refresh time period of the plurality of memory arrays on the corresponding die of the plurality of dies.
 12. The method of claim 7, further comprising: increasing durations of the plurality of refresh cycle rates when the plurality of operation temperatures decrease.
 13. The method of claim 7, further comprising: calculating the plurality of refresh cycle rates according to the plurality of die-to-die variation tables.
 14. A method, comprising: sensing a first operation temperature associated a plurality of memory arrays on a die; acquiring, according to the first operation temperature, a first refresh time from a lookup table corresponding to the plurality of memory arrays; and refreshing data stored in the plurality of memory arrays with a first refresh cycle rate corresponding to the first refresh time.
 15. The method of claim 14, further comprising: generating the lookup table by counting a plurality of refresh time periods of the plurality of memory arrays operating in different temperatures.
 16. The method of claim 14, further comprising: sensing a second operation temperature different from the first operation temperature; acquiring, according to the second operation temperature, a second refresh time from the lookup table; and refreshing data stored in the plurality of memory arrays with a second refresh cycle rate corresponding to the second refresh time.
 17. The method of claim 14, further comprising: refreshing the data in the plurality of memory arrays with a second refresh cycle rate faster than the first refresh cycle rate in response to sensing a second operation temperature higher than the first operation temperature associated the plurality of memory arrays.
 18. The method of claim 14, further comprising: sensing a second operation temperature different from the first operation temperature; determining whether the first and second operation temperatures are in a same temperature interval; and in response to the determining, keep refreshing the data in the plurality of memory arrays with the first refresh cycle rate.
 19. The method of claim 18, further comprising: when the first and second operation temperature are in different temperature intervals and the second operation temperature is higher than the first operation temperature, resetting a timer for counting a refresh time period of the plurality of memory arrays.
 20. The method of claim 14, wherein a duration of the first refresh cycle rate is shorter than a duration of the first refresh time. 